package com.song.dao;

import com.song.pojo.Category;
import com.song.vo.CategoryVo;

import java.util.List;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2020/12/21 - the current system date.
 * 16:29 - the current system time.
 */
public interface CategoryMapper {


    /**
     * 查询楼层列表
     * @param categoryVo
     * @return
     */
    List<Category> findCategoryList(CategoryVo categoryVo);


    /**
     * 添加楼层
     * @param category
     * @return
     */
    int addCategory(Category category);

    /**
     * 修改楼层
     * @param category
     * @return
     */
    int updateCategory(Category category);


}
